package com.tianci.appstore.ui.list.uninstall;

import java.util.List;

import com.tianci.appstore.ui.data.SkyListAppData;

public interface UninstallListDataListener {
    // 刷新当前空闲磁盘空间
    public void onUpdateCountAndSize(float internalSize, float externalSize);

    // 刷新界面上的卸载列表
    public void onUninstallListLoaded(List<SkyListAppData> dataList, List<SkyListAppData> selectedList);

//    // 批量卸载时，刷新某app正在卸载的状态
//    public void onUninstallingApp(String appName);
//    
//    // 批量卸载时，刷新某app卸载成功的状态
//    public void onUninstallAppFinish(String appName);

//    public void onUninstallFinished(int successCount, List<SkyListAppData> failList);

    public void onUninstallStart(String pkg);

    public void onUninstallFinished(int success, String pkg);
}
